package com.zrrd.spring_02.service.impl;

import com.zrrd.spring_02.service.TeaService;
import org.springframework.beans.factory.DisposableBean;
import org.springframework.beans.factory.InitializingBean;

/**
 * @author WanJl
 * @version 1.0
 * @title TeaServiceImpl
 * @description
 * @create 2024/10/20
 */
public class TeaServiceImpl implements TeaService, InitializingBean, DisposableBean {
    @Override
    public void method() {
        System.out.println("TeaServiceImpl method");
    }

    @Override
    public void afterPropertiesSet() throws Exception {
        System.out.println("teaServiceImpl 初始化之后.....");
    }

    @Override
    public void destroy() throws Exception {
        System.out.println("teaServiceImpl 销毁之前......");
    }
}
